package models
{
	import control.IRunCtrl;
	
	import game.bejeweled.BackDrop;

	public class ProfileModel
	{
		public function ProfileModel()
		{
		}

		public var row:int
		public var column:int
		public var EvenSum:int; 
		public var ballModelVec:Vector.<BallModel>=new Vector.<BallModel>();
		public var backdropVec:Vector.<Vector.<BackDrop>>=new Vector.<Vector.<BackDrop>>();
		public var _runVec:Vector.<IRunCtrl>=new Vector.<IRunCtrl>();
		//是否允许操作
		public var AllowCtrl:Boolean=false;
		//*****************************************************
		// Singleton 
		//*****************************************************
		private static var _instant:ProfileModel;
		public static function get instant():ProfileModel
		{
			if(null == _instant)
			{
				_instant =  new ProfileModel();
			}
			return _instant;
		}
	}
}